package cn.justforchris.system.service;

import cn.justforchris.system.domain.Role;
import cn.justforchris.system.query.RoleQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
    void insertRole(Role Role);

    void updateRole(Role Role);

    void deleteRole(Long id);

    void patchDelete(Long[] ids);

    Role getRoleById(Long id);

    List<Role> getAll();

    PageInfo<Role> queryPage(RoleQuery queryPage);



}
